Tag Link | [String->Split] | Category | String |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | Array | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
[String->Split] returns an array with elements created by splitting the string on the character specified as a parameter.
[String Variable->(Split: 'Delimiter')]
Required Parameters | |
---|---|
Delimiter | The delimiter for which the string should be split. |
To split a string into words:
Use the [String->Split] tag. The following example shows a sentence "The quick brown fox jumped over the lazy dog." split into an array using the space character as the delimiter.
[Output: 'The quick brown fox jumped over the lazy dog'->(Split: ' ')]
(Array: (The), (quick), (brown), (fox), (jumped), (over), (the), (lazy), (dog.))